package io;

import java.io.*;
import java.nio.charset.StandardCharsets;
import java.util.List;

public class BRDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("pw.txt");
        InputStreamReader osw = new InputStreamReader(fis, StandardCharsets.UTF_8);
        BufferedReader br = new BufferedReader(osw);
        int a = br.read();
        int b = br.read();
        int c = br.read();
        int d = br.read();
        System.out.println((char)a);
        System.out.println((char)b);
        System.out.println(c);
        System.out.println(d);
//        String line;
//        while((line = br.readLine())!=null) {
//            System.out.println(line);
//        }
        br.close();


    }
}
